package com.lb.activity.sys.service;

import com.lb.activity.po.VacTask;
import com.lb.activity.po.Vacation;

import javax.servlet.http.HttpServletRequest;

public interface VacationService {
    void startVacation(HttpServletRequest request, Vacation vacation);

    Object myVacation(HttpServletRequest request, Integer page, Integer limit);

    Object myHistoryVacation(HttpServletRequest request, Integer page, Integer limit);

    Object myApproveVacation(HttpServletRequest request, Integer page, Integer limit);

    VacTask viewVacation(String taskId, HttpServletRequest request);

    Object passVacation(VacTask vacTask, HttpServletRequest request);
}
